package com.ubs.web.client.service;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.ubs.dom.Account;

/**
 * The async counterpart of <code>PortalService</code>.
 */
public interface ProtalServiceAsync {
	
	void registerAccount(Account account, AsyncCallback<Void> callback) throws IllegalArgumentException;

	void loginAccount(String login, String passwordMD5,
			AsyncCallback<Account> callback);
	
}
